package com.gopay.common.cps.dao.bank;

import java.io.Serializable;
import java.util.List;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.bis.BisBizProdSpBankConfig;

/**
 * 
 * @BisBizProdSpBankConfig.java
 * @author mz
 * @Jan 7, 2014 6:40:44 PM  www.gopay.com.cn Inc.All rights reserved.
 */
public interface BisBizProdSpBankDAO extends BaseDAO<BisBizProdSpBankConfig, Serializable> {

	/**
	 * 
	 * @param bankCode
	 * @param bankProdCode
	 * @return
	 */
	BisBizProdSpBankConfig getBisBizProdSpBank(String bankCode,String bankProdCode);
	
	
	/**
	 * 
	 * @param bankCode
	 * @return
	 */
	List<BisBizProdSpBankConfig> getBisBizProdSpBankByBankCode(String bankCode);
	
	
	/**
	 * 
	 * @param bankCode
	 * @return
	 */
	List<BisBizProdSpBankConfig> getBisBizProdSpBankByBankCodeWithoutStatus(String bankCode);
	
	
	
	/**
	 * 
	 * @param prodCode
	 * @return
	 */
	List<BisBizProdSpBankConfig> getBisBizProdSpBankByProdCode(String prodCode);
	
	/**
	 * 获取所有配置信息，用于银行通道开通关闭，不限制状态
     * 
     * @param prodCode
     * @return
     */
    List<BisBizProdSpBankConfig> getAllBisBizProdSpBankByProdCode(String prodCode);

}
